<?php defined('SYSPATH') OR die('No direct script access.');
/**
 * Admin Dashboard Controller
 *
 * @package   Gleez\Admin\Controller
 * @author    Sandeep Sangamreddi - Gleez
 * @copyright (c) 2011-2013 Gleez Technologies
 * @license   http://gleezcms.org/license
 */
class Controller_Admin_Dashboard extends Controller_Admin {

  public function action_index()
  {
    $this->title = __('Administer');
    $view = View::factory('admin/dashboard')
          ->set('widgets', Widgets::instance()->render('dashboard'));

    $this->response->body($view);
  }

}
